//
//  AppDelegate.m
//  YQYHOUSE
//
//  Created by 倪勇勤 on 15/12/13.
//  Copyright © 2015年 niyonqin. All rights reserved.
//

#import "AppDelegate.h"
#import "FoodTableVC.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    //1.设置window
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    //初始化rootVC
    FoodTableVC *foodVC = [[FoodTableVC alloc] init];
    self.window.rootViewController = foodVC;
    self.window.backgroundColor = [UIColor redColor];
    //将window设置为keywindow和可以见
    [self.window makeKeyAndVisible];
    return YES;
}

@end
